package com.cqjtu.eecs.mapper;

import com.cqjtu.eecs.entity.TrainingGoalTemplate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqjtu.eecs.entity.vo.TrainingGoalTemplateVO;
import com.cqjtu.eecs.entity.vo.TrainingGoalVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author   
 * @since 2022-02-28
 */
public interface TrainingGoalTemplateMapper extends BaseMapper<TrainingGoalTemplate> {

    /**
     * 根据专业代码和版本编号查询下级培养目标
     * @param majorCode
     * @param versionCode
     * @return
     */
    List<TrainingGoalTemplateVO> getTrainingGoal(@Param("majorCode") String majorCode, @Param("versionCode") String versionCode);
}
